package com.lam.mall.mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lam.mall.entity.PayInfo;

/**
 * 订单支付记录Mapper接口
 * 
 * @author admin
 * @date 2023-05-07
 */
public interface PayInfoMapper extends BaseMapper<PayInfo>{

	
	/**
	 * 更新为已支付
	 * @param payNo
	 * @param version
	 * @return
	 */ 
	int updateToPay(@Param("payNo") String payNo, @Param("bizPayNo")String bizPayNo, @Param("payType")Integer payType, 
			@Param("version") Integer version);

}
